<!DOCTYPE html>
<html>
	<head>
		<meta charset="UTF-8">
		<meta name="renderer" content="webkit">
		<meta http-equiv="X-UA-Compatible" content="IE=edge,chrome=1">
		<meta http-equiv="Access-Control-Allow-Origin" content="*">
		<meta name="viewport" content="width=device-width, initial-scale=1, maximum-scale=1">
		<meta name="apple-mobile-web-app-status-bar-style" content="black">
		<meta name="apple-mobile-web-app-capable" content="yes">
		<meta name="format-detection" content="telephone=no">
		<meta http-equiv="pragma" content="no-cache">
		<meta http-equiv="cache-control" content="no-cache">
		<meta http-equiv="expires" content="0">
		<title></title>
		<link rel="stylesheet" href="../../javascript/plug-ins/layui/css/layui.css" media="all" />
		<link rel="stylesheet" href="../../css/style.css" />
		<script src="../../javascript/jquery.js"></script>
		<script type="text/javascript" src="../../javascript/plug-ins/layui/layui.js"></script>
		<script type="text/javascript" src="../../javascript/plug-ins/pagination.js" ></script>

		<script src="../../js/zyrpublic.js"></script>
        <script src="js/AddNotice.js?v=1.112">  </script>
		<script src="../../js/zyrfunction.js"></script>

	</head>
	<body>

	   <div class="page-wrap">

		<section class="page-hd t">
         <header>
			<h5 class="title">
				<a href="#" id="title_name" class="red">轮播图</a>
			</h5>
		 </header>
		 <hr>
		</section>

		<div class="panel panel-default">

		 <div class="form-content">

		 	<form>
		 		<div class="form-group-col-2">
		 			<div class="form-label">轮播图位置：</div>
		 			<div class="form-cont">
		 				<select class="width20" id="adv_position" readonly="true;">
							<option value="0" selected="selected">请选择轮播图位置</option>
							<option value="1">首页banner</option>
							<option value="2">活动专场入口</option>
							<option value="3">天兰头条轮播</option>
						</select>
						<input id="a_pos" class="form-control width20" type="text" readonly="true;" style="display:none"/>
		 			</div>
		 		</div>


				<!--	图片start	-->
		 		<div class="form-group-col-2" id="adv_picture">
		 			<div class="form-label">图片：</div>
		 			<div class="form-cont">
		                <input class="btn btn-warning" value="请上传图片" type="button" id="uploadimgs"/>
<!--		                <span class="word-aux">请上传图片宽高比例为7:5</span>-->
						<span class="word-aux"><i class="icon-warning-sign"></i>请上传图片宽高比例为7:5</span>
		 			</div>
		 		</div>

		 		<div class="form-group-col-2" id="divpreview" style="display:none">
		 			<div class="form-label"></div>
		 			<div class="form-cont">
		                   <img id="preview" src="#" height="100" />
						   <p id="demoText"></p>
		 			</div>
		 		</div>

		 		<!--	图片end	-->
		 		<div class="form-group-col-2">
		 			<div class="form-label">跳转链接：</div>
		 			<div class="form-cont">
		              <input id="targetUrl" class="form-control width50" type="text" value="" placeholder="请输入广告链接" />
		 			</div>
		 		</div>

		 		<div class="form-group-col-2">
		 			<div class="form-label">排序：</div>
		 			<div class="form-cont">
		                <input id="stort" class="form-control width50" type="number" value="0" placeholder="请输入序列" />
						<span class="word-aux"><i class="icon-warning-sign"></i>不填写排序默认为0,即排在最前面</span>
		 			</div>
		 		</div>

		 		<div class="form-group-col-2">
		 			<div class="form-label"></div>
		 			<div class="form-cont">
                       <input type="button" value="提交" class="btn btn-info" onclick="add_adv()"/>
					   <input type="button" value="返回" class="btn btn-danger" onclick="re()"/>
		 			</div>
		 		</div>

		 	</form>

		 </div><!--form--->


		</div><!---panel--->

	   </div><!---page-wrap------>


	</body>


</html>
